package com.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.example.entity.User;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("SELECT * FROM users WHERE phone = #{phone}")
    User findByPhone(String phone);
}